class Idea < ActiveRecord::Base
  belongs_to :user

  validates_presence_of :title, :summary, :user
  validates_length_of :title, :maximum => 250
  validates_length_of :summary, :within => 100..500
  validates_length_of :description, :maximum => 5000, :allow_nil => true
end